package com.haiheng.module_main.bean.res

import com.haiheng.library_base.http.HttpResponse

/**
 *
 * @Des:
 * @Author: hwz
 * @Date:2022/8/10 0010
 * @Version: 1.0
 */
data class LoginResp @JvmOverloads constructor(
    var data:LoginDataRes
): HttpResponse()

data class LoginDataRes(
    val expires_in: Double = 0.0, // 或者根据需要选择一个合适的默认值
    val orgCode: String = "",
    val orgLocation: String = "",
    val orgLocationLimits: String = "",
    val success: Boolean = false, // 假设未成功登录默认为false
    val token: String = "",
    val token_type: String = "Bearer", // 假设token类型是Bearer
    val userId: Int = 0, // 假设未登录用户ID为0
    val userLogin: String = "",
    val userName: String = ""
)